﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EQual.MainModule.Documents.Forms
{
    public class FormsPresentationModel : EQual .Infrastructure .MVPFramework .Models .PresentationModelBase <DataAccesLayer .Form>
    {
        public FormsPresentationModel()
        {
            this.DataFactory = new DataAccesLayer.EQualDataLayerFactory();
        }

        protected override IEnumerable<DataAccesLayer.Form > GetCollection()
        {
            return DataFactory.GetDocumentAccesLayer().GetDocumentFormsAndRecords(); 
        }
    }
}
